package com.open.party.cloud.view

import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import cn.android.x.parent.AppTitleBaseFragment
import com.open.party.cloud.R

class TempMainFragment(private val titleTxt: String) : AppTitleBaseFragment() {

    private var currView: View? = null
//    var titleStr = ""

    override fun onCreateView(inflater: LayoutInflater, container: ViewGroup?, savedInstanceState: Bundle?): View? {
        if (currView == null) {
            currView = inflater.inflate(R.layout.comm_dev_ing_main_page_01, container, false)
        }
        return currView
    }

    override fun onViewCreated(view: View, savedInstanceState: Bundle?) {
        super.onViewCreated(view, savedInstanceState)
        setViewTitle(view, titleTxt)

    }
}